package com.qfedu.edu.result;

/**
 * @author xiaobobo
 * @title: ResponseCode
 * @projectName cd-fy-2401-third-project-parent
 * @description: 这个就是消息枚举
 * @date 2024/9/13  14:47
 */
public enum ResponseCode {

    SUCCESS(0, "请求成功"),
    LOGIN_EXCEPTION(100, "登陆失败"),
    FAIL(-1, "请求失败");

    private Integer code;

    private String msg;

    ResponseCode(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
